package com.lmy.springCloud.dao;

import com.lmy.springCloud.entity.Member;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MemberDao {

    /**
     * 根据id获取会员信息
     * @param id 会员id
     * @return
     */
    public Member getMemberById(Long id);

    /**
     * 新增会员
     * @param member 会员对象
     */
    public int insertMember(Member member);
}
